package com.BufferedReader.Eaxmple;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

public class BufferedReaderEaxmple {
	public static void main(String[] args) {
		BufferedReader  br=null;
		try{
			String sCurrentLine;
			br=new BufferedReader(new FileReader("E:\\Testing2.txt"));
			while((sCurrentLine=br.readLine())!=null)
			{
				System.out.println(sCurrentLine);
			}
		}
		catch(Exception e)
		{
			e.printStackTrace();
		}
		/*finally
		{
			try
			{
				if(br!=null)
					br.close();
				
			}
			catch(IOException ex)
			{
				ex.printStackTrace();
			}
			
		}*/
	}

}
